/*
 * @Author: C.
 * @Date: 2023-03-31 09:59:54
 */

import { createApiModule } from '/~/utils/help/createApiModule';
import { defHttp } from '/@/utils/http/axios';

export const apiModuleName = 'user_data';
export default createApiModule(apiModuleName);
// 获取所有用户
export const user_data_list = (params: any) => {
  return defHttp.post({ url: '/user_data/list', params });
};
// 获取所有用户
export const get_by_id = (params: any) => {
  return defHttp.get({ url: '/user_data/get_by_id', params });
};
// 获取所有用户
export const update_password = (params: any) => {
  return defHttp.post({ url: '/user_data/update_password', params });
};
